package com.aigua.order.fegin;

import com.aigua.pojo.User;
import com.aigua.vo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 04 01 15 07
 **/
@FeignClient(value = "aigua-user-admin-web")
public interface UserFegin {

    @PostMapping("/v1/admin/user/login")
    public CommonResult login(@RequestBody User user);


}
